package name.maunz.client.widgets;

import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.FlowPanel;

public class LabelTextBox extends Composite {
	protected Label MyLabel;
	protected TextBox MyTextBox;
	protected FlowPanel MyFlowPanel = new FlowPanel();
	
	public LabelTextBox() {
		this(new String());
	}
	
	public LabelTextBox(String labelText) {
		MyLabel = new Label(labelText);
		MyTextBox = new TextBox();
		MyFlowPanel.add(MyLabel);
		MyFlowPanel.add(MyTextBox);
		initWidget(MyFlowPanel);
	}
	
}
